package priv.wangy.micro.common.config.appnode;

import lombok.Data;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 *@author wangy
 *@since 2024/12/2
 */
@Data
@Configuration
@EnableConfigurationProperties(AppNodeProperties.class)
public class AppNodeConfig {
    private AppNodeProperties appNodeProperties;

    public AppNodeConfig(AppNodeProperties appNodeProperties) {
        this.appNodeProperties = appNodeProperties;
    }
}
